package com.hl.card.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 合伙人申请表
 * </p>
 *
 * @author 袁伟
 * @since 2018-06-01
 */
@TableName("dis_member_apply")
public class DisMemberApply extends Model<DisMemberApply> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	@TableField("login_account")
	private String loginAccount;
    /**
     * 姓名
     */
	@TableField("user_name")
	private String userName;
    /**
     * 审核状态(0待签约1已签约)
     */
	private Integer status;

	private Integer pay_status; //支付状态(0未支付1支付中2已支付)

    public Integer getPay_status() {
		return pay_status;
	}

	public void setPay_status(Integer pay_status) {
		this.pay_status = pay_status;
	}

	/**
     * 申请时间
     */
	@TableField("apply_time")
	private Date applyTime;
    /**
     * 用户ID
     */
	@TableField("user_id")
	private String userId;
    /**
     * 身份证号码
     */
	@TableField("id_no")
	private String idNo;
    /**
     * 推荐码
     */
	@TableField("recommendation_no")
	private String recommendationNo;
    /**
     * 支付金额
     */
	@TableField("pay_money")
	private BigDecimal payMoney;
    /**
     * 支付流水号
     */
	@TableField("flow_no")
	private String flowNo;
    /**
     * 支付方式(0支付宝1微信2其他)
     */
	@TableField("pay_type")
	private Integer payType;
    /**
     * 支付时间
     */
	@TableField("pay_time")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date payTime;
    /**
     * 跟单人
     */
	@TableField("documentary_people")
	private String documentaryPeople;
    /**
     * 跟单时间
     */
	@TableField("documentary_time")
	private Date documentaryTime;
    /**
     * 物流单号
     */
	@TableField("logistics_no")
	private String logisticsNo;
    /**
     * 审核时间
     */
	@TableField("examine_time")
	private Date examineTime;
    /**
     * 合同编号
     */
	@TableField("contract_no")
	private String contractNo;
    /**
     * 回寄物流公司
     */
	@TableField("r_logistics_company")
	private String r_logisticsCompany;


	/**
     * 回寄物流单号
     */
	@TableField("r_logistics_no")
	private String r_logisticsNo;
    /**
     * 合同照片
     */
	@TableField("contract_pic")
	private String contractPic;
	/**
	 * 支付方式
	 */
	@TableField("pay_status")
	private Integer payStatus;
	/**
	 * 矿机数量
	 */
	@TableField("rob_num")
	private Integer robNum;

	/**
	 * 标签(0矿机1商城)
	 */
	@TableField("type")
	private Integer type;
	
	@TableField("rec_platform")
	private String rec_platform;
	
	/**
	 * 支付通证
	 */
	@TableField("pay_prove")
	private String pay_prove;
	
	/**
	 * 通证数量
	 */
	@TableField("prove_num")
	private Integer prove_num;
	
	/**
	 * 通证价格
	 */
	@TableField("prove_money")
	private Double prove_money;
	
	public String getPay_prove() {
		return pay_prove;
	}

	public void setPay_prove(String pay_prove) {
		this.pay_prove = pay_prove;
	}

	public Integer getProve_num() {
		return prove_num;
	}

	public void setProve_num(Integer prove_num) {
		this.prove_num = prove_num;
	}


	public Double getProve_money() {
		return prove_money;
	}

	public void setProve_money(Double prove_money) {
		this.prove_money = prove_money;
	}

	public String getRec_platform() {
		return rec_platform;
	}

	public void setRec_platform(String rec_platform) {
		this.rec_platform = rec_platform;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getRobNum() {
		return robNum;
	}

	public void setRobNum(Integer robNum) {
		this.robNum = robNum;
	}

	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}

	private String zhuangtai;

	private String zhifufangshi;

	public String getZhifufangshi() {
		return zhifufangshi;
	}

	public void setZhifufangshi(String zhifufangshi) {
		this.zhifufangshi = zhifufangshi;
	}

	public String getZhuangtai() {
		return zhuangtai;
	}

	public void setZhuangtai(String zhuangtai) {
		this.zhuangtai = zhuangtai;
	}

	public String getBindingPhone() {
		return bindingPhone;
	}

	public void setBindingPhone(String bindingPhone) {
		this.bindingPhone = bindingPhone;
	}



	/**
	 * 合同照片
	 */
	@TableField("binding_phone")
	private String bindingPhone;

	/**
	 * 支付渠道
	 */
	@TableField("pay_channel")
	private String payChannel;

	public String getPayChannel() {
		return payChannel;
	}

	public void setPayChannel(String payChannel) {
		this.payChannel = payChannel;
	}



	/**
	 * 应付金额
	 */
	@TableField("payable_amount")

	private Integer payableAmount;

	public Integer getPayableAmount() {
		return payableAmount;
	}

	public void setPayableAmount(Integer payableAmount) {
		this.payableAmount = payableAmount;
	}

	private String receiving_name;
    private String receiving_phone;
    private String receiving_address;
    private String order_no;
	public String getOrder_no() {
		return order_no;
	}

	public void setOrder_no(String order_no) {
		this.order_no = order_no;
	}

	public String getReceiving_name() {
		return receiving_name;
	}

	public void setReceiving_name(String receiving_name) {
		this.receiving_name = receiving_name;
	}

	public String getReceiving_phone() {
		return receiving_phone;
	}

	public void setReceiving_phone(String receiving_phone) {
		this.receiving_phone = receiving_phone;
	}

	public String getReceiving_address() {
		return receiving_address;
	}

	public void setReceiving_address(String receiving_address) {
		this.receiving_address = receiving_address;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getR_logisticsCompany() {
		return r_logisticsCompany;
	}

	public void setR_logisticsCompany(String r_logisticsCompany) {
		this.r_logisticsCompany = r_logisticsCompany;
	}

	public String getR_logisticsNo() {
		return r_logisticsNo;
	}

	public void setR_logisticsNo(String r_logisticsNo) {
		this.r_logisticsNo = r_logisticsNo;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getLoginAccount() {
		return loginAccount;
	}

	public void setLoginAccount(String loginAccount) {
		this.loginAccount = loginAccount;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getApplyTime() {
		return applyTime;
	}

	public void setApplyTime(Date applyTime) {
		this.applyTime = applyTime;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getIdNo() {
		return idNo;
	}

	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}

	public String getRecommendationNo() {
		return recommendationNo;
	}

	public void setRecommendationNo(String recommendationNo) {
		this.recommendationNo = recommendationNo;
	}

	public BigDecimal getPayMoney() {
		return payMoney;
	}

	public void setPayMoney(BigDecimal payMoney) {
		this.payMoney = payMoney;
	}

	public String getFlowNo() {
		return flowNo;
	}

	public void setFlowNo(String flowNo) {
		this.flowNo = flowNo;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public String getDocumentaryPeople() {
		return documentaryPeople;
	}

	public void setDocumentaryPeople(String documentaryPeople) {
		this.documentaryPeople = documentaryPeople;
	}

	public Date getDocumentaryTime() {
		return documentaryTime;
	}

	public void setDocumentaryTime(Date documentaryTime) {
		this.documentaryTime = documentaryTime;
	}

	public String getLogisticsNo() {
		return logisticsNo;
	}

	public void setLogisticsNo(String logisticsNo) {
		this.logisticsNo = logisticsNo;
	}

	public Date getExamineTime() {
		return examineTime;
	}

	public void setExamineTime(Date examineTime) {
		this.examineTime = examineTime;
	}

	public String getContractNo() {
		return contractNo;
	}

	public void setContractNo(String contractNo) {
		this.contractNo = contractNo;
	}
	public String getContractPic() {
		return contractPic;
	}

	public void setContractPic(String contractPic) {
		this.contractPic = contractPic;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}

